[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Removes all the items in collection from the set.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public int RemoveMany( IEnumerable<T> collection ) |
Visual Basic (Declaration) |
---|
Public Function RemoveMany ( _ collection As IEnumerable(Of T) _ ) As Integer |
Visual C++ |
---|
public: int RemoveMany ( IEnumerable<T>^ collection ) |
Parameters
- collection
- IEnumerable<(Of <T>)>
A collection of items to remove from the set.
Return Value
The number of items removed from the set.Remarks
Equality between items is determined by the comparison instance or delegate used to create the set.
Removing the collection takes time O(M), where M is the number of items in collection.
Exceptions
Exception | Condition |
---|---|
System..::ArgumentNullException | collection is null. |
See Also
Set<(Of <T>)> Class
Wintellect.PowerCollections Namespace